<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/13
  Time: 10:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <%
    pageContext.setAttribute("APP_PATH",request.getContextPath());
  %>
  <title>Title</title>
  <title>ERP系统 - 用户</title>
  <link rel="stylesheet" href="${APP_PATH}/static/css/main.css">
  <link rel="stylesheet" href="${APP_PATH}/static/lib/font-awesome/css/font-awesome.css">

</head>
<body>
<div class="box">
  <h3>添加用户信息</h3>
  <form action="${APP_PATH}/shiro/user/userInsert" method="post">
    <table class="form-table">
      <tr>
        <td>用户名</td>
        <td colspan="3" class="control">
          <input type="text" name="uUsername" placeholder="用户名">
        </td>
      </tr>
      <tr>
        <td>密码</td>
        <td colspan="3" class="control">
          <input type="text" name="uPassword" placeholder="密码">
        </td>
      </tr>
      <tr>
        <td>年龄</td>
        <td colspan="3" class="control">
          <input type="text" name="uAge" placeholder="年龄">
        </td>
      </tr>
      <tr>
        <td>手机号</td>
        <td colspan="3" class="control">
          <input type="text" name="uTel" placeholder="手机号">
        </td>
      </tr>


          <input value="1" name="uStatus" type="hidden">


      <tr>
        <td>角色名</td>
        <td colspan="3" class="control">
          <select name="rId">
            <option value="1">智游老总</option>
            <option value="2">班主任</option>
            <option value="3">公寓管理员</option>
          </select>
        </td>
      </tr>

    </table>
    <div class="buttons">
      <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
      <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
    </div>
  </form>
</div>
</body>

</html>
